<?php
include("form.php");
if(isset($_POST["save"]))
	{
		$sql="insert into product(product_id,product_name,product_desc,price,category_id) value('{$_POST["product_id"]}','{$_POST["product_name"]}','{$_POST["product_desc"]}','{$_POST["price"]}','{$_POST["cate"]}')";
		$kq=mysql_query($sql);
		if(!$kq)
		{
			echo'ban chua luu dc vao csdl!';
		}
		else
		{
			echo'ban da luu thanh cong';
	    } 
	}
?>